package com.zhike.common.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhike.common.utils.PageResult;
import lombok.Data;
import org.elasticsearch.join.aggregations.ParentAggregationBuilder;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 收到的评论返回VO
 */
@Data
public class CommentVo {
    private Integer postId;
    private Integer commentId;
    private String commentContent;
    private String commentImage;
    private String postType;
    private String postTitle;
    private String postImage;
    private String postContent;
    private String userId;
    private String userNickName;
    private String userAvatar;
    private String timeDiffStr;
    private String gender;
    private ParentCommentVo parentCommentVo;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;


}
